/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package models;


/**
 *
 * @author Jimmi
 */
public class Contingent {

    private int paymentStatus;
    private String date;
    private float contingentPrice;
    private Person person = null;
    private int id;
        
    public Contingent (int paymentStatus, Person person, String date, float contingentPrice)
    {
        this.person = person;
        this.paymentStatus = paymentStatus;
        this.date = date;
        this.contingentPrice = contingentPrice;
    }
 
    public Contingent (int paymentStatus, String date, float contingentPrice)
    {
        this.paymentStatus = paymentStatus;
        this.date = date;
        this.contingentPrice = contingentPrice;
    }

    public void setPaymentStatus(int paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public int getPaymentStatus() {
        return paymentStatus;
    }

    public String getdate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public float getAmount() {
        return contingentPrice;

    }

    public int getId() {
        return id;
    }

    public void setPerson(Person person) {
        this.person = person;
    }

    public Person getPerson() {
        return person;
    }


}





